/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ivanbiz.helper;

import java.awt.Dimension;
import java.util.Date;

/**
 *
 * @author City_Z
 */
public class GlobalSession {
    private static Date lockDate;   
    private static String uniqueNumber;
    private static String nameCompany;
    private static String previousNoTransaksi;
    private static String nextNoTransaksi;
    private static Dimension desktopsize;

    public static Dimension getDesktopsize() {
        return desktopsize;
    }

    public static void setDesktopsize(Dimension desktopsize) {
        GlobalSession.desktopsize = desktopsize;
    }

    /**
     * @return the uniqueNumber
     */
    public static String getUniqueNumber() {
        return uniqueNumber;
    }

    /**
     * @param aUniqueNumber the uniqueNumber to set
     */
    public static void setUniqueNumber(String aUniqueNumber) {
        uniqueNumber = aUniqueNumber;
    }

    /**
     * @return the lockDate
     */
    public static Date getLockDate() {
        return lockDate;
    }

    /**
     * @param aLockDate the lockDate to set
     */
    public static void setLockDate(Date aLockDate) {
        lockDate = aLockDate;
    }

    /**
     * @return the nameCompany
     */
    public static String getNameCompany() {
        return UserSession.getCompany().getAlias();
    }

    /**
     * @return the previousNoTransaksi
     */
    public static String getPreviousNoTransaksi() {
        return previousNoTransaksi;
    }

    /**
     * @param aPreviousNoTransaksi the previousNoTransaksi to set
     */
    public static void setPreviousNoTransaksi(String aPreviousNoTransaksi) {
        previousNoTransaksi = aPreviousNoTransaksi;
    }

    /**
     * @return the nextNoTransaksi
     */
    public static String getNextNoTransaksi() {
        return nextNoTransaksi;
    }

    /**
     * @param aNextNoTransaksi the nextNoTransaksi to set
     */
    public static void setNextNoTransaksi(String aNextNoTransaksi) {
        nextNoTransaksi = aNextNoTransaksi;
    }

   
   
    
}
